heroicons nextjs

126

heroicons nextjs -

//Code from heroicons GitHub - https://github.com/tailwindlabs/heroicons

//Terminal - Install heroicons
npm install @heroicons/react

//Start using reactions!
import { BeakerIcon } from '@heroicons/react/solid'

function MyComponent() {
  return (
    <div>
      <BeakerIcon className="h-5 w-5 text-blue-500"/>
      <p>Hello from heroicons!</p>
    </div>
  )
}

Comments

Submit
0 Comments